import service from "@/utils/zxh/request";
// import { useZxhStore } from "@/stores/zxh/zxh";
// var zxhstore = useZxhStore()
// var id = zxhstore.zxhPath.id

// 合同信息
export function ht_Contract(payload = {}) {
    return service.get('/MIS/htContract', { params: payload })
}
// 新增合同信息
export function addht_Contract(payload = {}) {
    return service.post('/MIS/htContract', payload)
}
// 合同信息查询
export function ht_Contractid(payload = {}) {
    const id = localStorage.getItem('id')
    return service.get('/MIS/htContract/' + id, { params: payload })
}
// 银行账户信息
export function ht_Bankinfo(payload = {}) {
    return service.get('/MIS/htBankinfo', { params: payload })
}
// 银行账户信息新增
export function addht_Bankinfo(payload = {}) {
    return service.post('/MIS/htBankinfo', payload)
}
// 银行账户信息删除
export function scht_Bankinfo(payload = {}) {
    return service.delete('/MIS/htBankinfo', { params: payload })
}
// 合同证明信息
export function ht_Proof(payload = {}) {
    return service.get('/MIS/htProof', { params: payload })
}
// 合同证明信息新增
export function addht_Proof(payload = {}) {
    return service.post('/MIS/htProof', payload)
}
// 合同证明信息删除
export function scht_Proof(payload = {}) {
    return service.delete('/MIS/htProof', { params: payload })
}
// 审批历史信息
export function sp_Approvalhistory(payload = {}) {
    return service.get('/MIS/spApprovalhistory', { params: payload })
}
